var Module = (function(parent) {
	var my = parent.region = parent.region || {};

	var cp;
	var scriptPanel = new Ext.debug.ScriptsPanel();
	var logView = new Ext.debug.LogPanel( {
		bbar : [{
			id : "clearLogBtn",
			text : 'clear',
			tooltip : 'clear',
			handler : Ext.clearLog
		}]
	});
	var tree = new Ext.debug.DomTree();
	var compInspector = new Ext.debug.ComponentInspector();
	var compInfoPanel = new Ext.debug.ComponentInfoPanel();
	var storeInspector = new Ext.debug.StoreInspector();
	var objInspector = new Ext.debug.ObjectInspector();
	cp = Ext.getCmp("x-debug-browser");
	/***************************************************************************
	 * , { title : 'HTML Inspector', layout : 'border', items : [tree] }, {
	 * title : 'Component Inspector', layout : 'border', items : [compInspector,
	 * compInfoPanel] }, { title : 'Object Inspector', layout : 'border', items :
	 * [objInspector] }, { title : 'Data Stores', layout : 'border', items :
	 * [storeInspector] }
	 **************************************************************************/
	var tabs = new Ext.TabPanel( {
		activeTab : 0,
		border : false,
		tabPosition : 'bottom',
		items : [{
			title : 'Debug Console',
			layout : 'border',
			items : [logView]
		}]
	});
	my.south = {
		id : 'x-debug-browser',
		title : 'Console',
		region : 'south',
		contentEl : 'south',
		split : true,
		minSize : 150,
		maxSize : 400,
		collapsible : true,
		animCollapse : false,
		style : 'z-index:101',
		height : 150,
		logView : logView,
		layout : 'fit',
		items : logView
	};
	return parent;
}(Module || {}));